package com.example.demo.dao1;

import com.example.demo.entity.Stucu;
import com.example.demo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserDao extends JpaRepository<User, Integer> {
    List<User> findByUsernameAndPassword(String user, String pwd);
}
